import java.util.Scanner;

public class Test {

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while(scanner.hasNextLine()){
            String s = scanner.nextLine();
            for (int i = 0; i < s.length(); i++) {

                int j = 0;
                for (j = 0; j < i; j++) {
                    if((s.charAt(i))==(s.charAt(j))){
                        break;
                    }
                }
                if(j==i){
                    System.out.print(s.charAt(i));
                }
                System.out.println();
            }
        }
    }
}
